<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of sidebarComponent
 *
 * @author tomislav
 */
class sidebarComponent extends sfComponent {

    public function execute($request)
    {
        $this->categories = Doctrine_Core::getTable('Category')->getCategoryTree();
        $this->sidebar = SiteZoneTable::getInstance()->findOneByZoneId('sidebar');

    }




}
?>
